
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

#body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('https://s1.hdslb.com/bfs/static/jinkela/international-home/assets/cover.png');
    background-size: cover;
    background-position: center;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background-color: rgba(0, 0, 0, 0.5);*/
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background-color: transparent;
}

.login-modal {
    width: 800px;
    height: 500px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    overflow: hidden;
}

.qr-section {
    width: 40%;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.qr-code {
    width: 180px;
    height: 180px;
    background-color: #fff;
    padding: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-code img {
    width: 100%;
    height: 100%;
}

.qr-text {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 20px;
}

.login-section {
    width: 60%;
    padding: 40px;
    position: relative;
}

.login-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.login-tab {
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    position: relative;
}

.login-tab.active {
    color: #00a1d6;
    font-weight: 500;
}

.login-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #00a1d6;
}

.login-close {
    position: relative;
    top: -90px;
    left: 620px;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    z-index: 1000;
}

.login-close:hover {
    color: #666;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: #00a1d6;
    outline: none;
}

.password-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
}

.forgot-password {
    text-align: right;
    margin-bottom: 20px;
}

.forgot-password a {
    color: #999;
    font-size: 13px;
    text-decoration: none;
}

.forgot-password a:hover {
    color: #00a1d6;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: #00a1d6;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #00b5e5;
}

.register-link {
    text-align: center;
    margin-bottom: 20px;
}

.register-link a {
    color: #00a1d6;
    text-decoration: none;
    font-size: 14px;
}

.other-login {
    text-align: center;
    margin-top: 30px;
    color: #999;
    font-size: 14px;
    position: relative;
}

.other-login::before,
.other-login::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background-color: #eee;
}

.other-login::before {
    left: 0;
}

.other-login::after {
    right: 0;
}

.social-login {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.social-icon {
    margin: 0 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: #eee;
}

.agreement {
    text-align: center;
    margin-top: 20px;
    color: #999;
    font-size: 12px;
}

.agreement a {
    color: #00a1d6;
    text-decoration: none;
}

.phone-prefix {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 10px;
    margin-right: 10px;
    font-size: 14px;
    color: #666;
}

.phone-prefix select {
    border: none;
    outline: none;
    background: transparent;
    color: #666;
}

.phone-group {
    display: flex;
    margin-bottom: 20px;
}

.code-group {
    display: flex;
    margin-bottom: 20px;
}

.get-code-btn {
    margin-left: 10px;
    padding: 0 15px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
}

.get-code-btn:hover {
    background-color: #eee;
}

/*.hidden {*/
/*    display: none;*/
/*}*/
